Package ch.datatrans.payment.exception

Types

AppNotInstalledException
Link copied to clipboard
open class AppNotInstalledException : TechnicalException
This class contains information which is available if a user selects a payment method without having its app installed.
AuthenticationException
Link copied to clipboard
class AuthenticationException : TransactionException
This class contains information which is available when authentication fails.
AuthorizationException
Link copied to clipboard
class AuthorizationException : TransactionException
This class contains information which is available when authorization fails.
BackendException
Link copied to clipboard
class BackendException : Exception
This class contains information which is available when the Datatrans backend returns an error.
GooglePayTransactionException
Link copied to clipboard
class GooglePayTransactionException(cause: Throwable?, transactionId: String?) : TransactionException
InitializationException
Link copied to clipboard
class InitializationException : TransactionException
This class contains information which is available when there is an initialization problem for example when mobile token is unknown.
ModuleMissingException
Link copied to clipboard
class ModuleMissingException(missingModuleFormat: String, paymentMethodType: PaymentMethodType) : TechnicalException
This class contains information when a specific payment method was requested but the request can not be fulfilled because the module for the payment method was explicitly excluded.
PaymentMethodValidationException
Link copied to clipboard
class PaymentMethodValidationException : TechnicalException
PCIPTokenizationException
Link copied to clipboard
open class PCIPTokenizationException : Exception
This class includes the error message and other details of a PCI Proxy tokenization request.
TechnicalException
Link copied to clipboard
open class TechnicalException : TransactionException
This class contains information which is available when there is a technical problem for example when Google Pay fails for an unknown reason.
TransactionException
Link copied to clipboard
open class TransactionException : Exception
This class includes the error message and other details of a transaction.
TWINTNotInstalledException
Link copied to clipboard
class TWINTNotInstalledException : AppNotInstalledException
This class contains information which is available if a user selects the TWINT payment method without having the app installed.